package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

/**
 * 题
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("soul_question_list")
public class QuestionList implements Serializable {
    private ObjectId id;
    private Long questionId;
    //    每个题所对应的选项
    private List<QuestionOption> options;
    private String question;
}
